package GoodsService

import (
	"context"
	"gdshop-back-end-go/client-api/app/response/GoodsResp"
	"gdshop-back-end-go/common/request/GoodsReq"
	"gdshop-back-end-go/common/response"
)

func HotSearch(ctx context.Context, parames *GoodsReq.HotSearch) *response.JsonResponse {
	hotSearchData := []GoodsResp.HotSearch{}
	hotSearchData = append(hotSearchData, GoodsResp.HotSearch{
		Id:      1,
		Keyword: "测试",
	})
	hotSearchData = append(hotSearchData, GoodsResp.HotSearch{
		Id:      2,
		Keyword: "测试2",
	})
	hotSearchData = append(hotSearchData, GoodsResp.HotSearch{
		Id:      3,
		Keyword: "测试3",
	})
	return response.SuccessByRequestMessageData(nil, "成功", hotSearchData)
}
